Get Notification Templates
GET /api/v1/notifications/templates
Description
Retrieves a list of notification templates. You can filter the templates using various query parameters to narrow down the results.
Optional Query Parameters:
| Name | Type | Description |
|---|---|---|
templateDateRange | string | Date range to filter templates. Example: 2020-11-12,2022-11-15. |
templateByStatus | boolean | Filter templates by whether email notifications are enabled. |
templateByTenantIds | string | Filter templates by tenant IDs. |
templateByProductName | string | Filter templates by matching part of the product name. |
templateByTemplateName | string | Filter templates by matching part of the template name. |
Example Request:
curl -X GET "{{baseURL}}/api/v1/notifications/templates" \
-H "Authorization: Bearer [access_token]" \
-G \
--data-urlencode "templateDateRange=2020-11-12,2022-11-15" \
--data-urlencode "templateByStatus=true" \
--data-urlencode "templateByTenantIds=tenant1,tenant2" \
--data-urlencode "templateByProductName=REGISTRY" \
--data-urlencode "templateByTemplateName=Reminder"